	<h1><span><?php echo $title;?></span></h1>
	<?php echo $message;?>
	<?php echo validation_errors();?>
	<?php echo form_open($action);?>
	<div class="data">
	<table border="1">
		<tr>
			<td width="30%">id barang</td>
			<td><input type="text" name="id_barang" disabled="disable" class="text" value="<?php echo(isset($produk['ID_BARANG']))?$produk['ID_BARANG']:'tidak perlu diisi';?>"/></td>
			<input type="hidden" name="id_barang" value="<?php echo(isset($produk['ID_BARANG']))?$produk['ID_BARANG']:'';?>"/>
		</tr>
		<tr>
			<td valign="top">id kategori</td>
			<td><input type="text" name="id_kat" class="text" value="<?php echo(set_value('id_kat'))?set_value('id_kat'):$produk['ID_KAT'];?>"/>
			<?php echo form_error('id_kat');?>
			</td>
		</tr>
		
		<tr>
			<td valign="top">id merek</td>
			<td><input type="text" name="id_merek" class="text" value="<?php echo(set_value('id_merek'))?set_value('id_merek'):$produk['ID_MEREK'];?>"/>
			<?php echo form_error('id_merek');?>
			</td>
		</tr>
		
		<tr>
			<td valign="top">nama barang</td>
			<td><input type="text" name="nama_brg" class="text" value="<?php echo(set_value('nama_brg'))?set_value('nama_brg'):$produk['NAMA_BRG'];?>"/>
			<?php echo form_error('nama_brg');?>
			</td>
		</tr>
		<tr>
			<td valign="top">harga</td>
			<td><input type="text" name="harga" class="text" value="<?php echo(set_value('harga'))?set_value('harga'):$produk['HARGA'];?>"/>
			<?php echo form_error('harga');?>
			</td>
		</tr>
		<tr>
			<td valign="top">stok</td>
			<td><input type="text" name="stok" class="text" value="<?php echo(set_value('stok'))?set_value('stok'):$produk['STOK'];?>"/>
			<?php echo form_error('stok');?>
			</td>
		</tr>
		
		<tr>
			<td valign="top">deskripsi</td>
			<td><input type="text" name="deskripsi" class="text" value="<?php echo set_value('deskripsi')?set_value('deskripsi'):$produk['DESKRIPSI'];?>"/>
			<?php echo form_error('deskripsi');?>
			</td>
		</tr>
		<tr>
			<td valign="top">url gambar</td>
			<td><input type="text" name="url_gambar" class="text" value="<?php echo(set_value('url_gambar'))?set_value('url_gambar'):$produk['URL_GAMBAR'];?>"/>
			<?php echo form_error('url_gambar');?>
			</td>
		</tr>
		
		<tr>
			<td>&nbsp;</td>
			<td><input type="submit" value="save"/></td>
		</tr>
	</table>
	</div>
	</form>
	<br/>
	<?php echo $link_back;?>
